import upload from '@/utils/upload'
import request from '@/utils/request'

// 
export function historyList(pageNum,pageSize) {
  return request({
    url: `/number/historyList?pageNum=`+pageNum+`&pageSize=`+pageSize,
    method: 'get'
  })
}

// 
export function historyTotal() {
  return request({
    url: '/number/historyTotal',
    method: 'get'
  })
}

// 
export function saveIdeas(data) {
  return request({
    url: '/number/saveIdeas',
    method: 'post',
	data
  })
}

// 
export function getIdeas(pageNum,pageSize) {
  return request({
    url: `/number/getIdeas?pageNum=`+pageNum+`&pageSize=`+pageSize,
    method: 'get'
  })
}

// 
export function fenshujs(num,max,min) {
  return request({
    url: `/number/fenshujs?num=`+num+`&max=`+max+`&min=`+min,
    method: 'get'
  })
}

// 
export function fsbdx(num,max,min) {
  return request({
    url: `/number/fsbdx?num=`+num+`&max=`+max+`&min=`+min,
    method: 'get'
  })
}

// 
export function yushu(num,max,min) {
  return request({
    url: `/number/yushu?num=`+num+`&max=`+max+`&min=`+min,
    method: 'get'
  })
}

// 
export function shang(num,max,min) {
  return request({
    url: `/number/shang?num=`+num+`&max=`+max+`&min=`+min,
    method: 'get'
  })
}

// 
export function biaoneichengjian(num,max,min) {
  return request({
    url: `/number/biaoneichengjian?num=`+num+`&max=`+max+`&min=`+min,
    method: 'get'
  })
}

// 
export function biaoneichengjia(num,max,min) {
  return request({
    url: `/number/biaoneichengjia?num=`+num+`&max=`+max+`&min=`+min,
    method: 'get'
  })
}

// 
export function except(num,max,min) {
  return request({
    url: `/number/except?num=`+num+`&max=`+max+`&min=`+min,
    method: 'get'
  })
}

// 
export function ride(num,max,min) {
  return request({
    url: `/number/ride?num=`+num+`&max=`+max+`&min=`+min,
    method: 'get'
  })
}

// 
export function lwsljjbdx() {
  return request({
    url: '/number/lwsljjbdx',
    method: 'get'
  })
}

// 
export function lwsljj(num,max,min) {
  return request({
    url: `/number/lwsljj?num=`+num+`&max=`+max+`&min=`+min,
    method: 'get'
  })
}

// 
export function dkhys(num,max) {
  return request({
    url: `/number/dkhys?num=`+num+`&max=`+max,
    method: 'get'
  })
}

// 
export function zgl(num) {
  return request({
    url: `/number/zgl?num=`+num,
    method: 'get'
  })
}


// 
export function jiafahuansuan(num,max,flag) {
  return request({
    url: `/number/hs?num=`+num+`&max=`+max+`&flag=`+flag,
    method: 'get'
  })
}
// 
export function shiweishujiajian(num,max,flag) {
  return request({
    url: `/number/swjjj?num=`+num+`&max=`+max+`&flag=`+flag,
    method: 'get'
  })
}

// 
export function shiyineilianjia(num,max,flag) {
  return request({
    url: `/number/lianjia?num=`+num+`&max=`+max+`&flag=`+flag,
    method: 'get'
  })
}

// 
export function jiajianbidaxiao(num,max) {
  return request({
    url: `/number/addbdx?num=`+num+`&max=`+max,
    method: 'get'
  })
}

// 
export function shiyineijiajian(num,max,min) {
  return request({
    url: `/number/easyNumThree?num=`+num+`&max=`+max+`&min=`+min,
    method: 'get'
  })
}
// 
export function fineyineijiafa(num,max,min) {
  return request({
    url: `/number/easyNumOne?num=`+num+`&max=`+max+`&min=`+min,
    method: 'get'
  })
}

// 
export function fineyineibdx(num,max) {
  return request({
    url: `/number/bdx?num=`+num+`&max=`+max,
    method: 'get'
  })
}

export function fineyineijianfa(num,max,min) {
  return request({
    url: `/number/easyNumTwo?num=`+num+`&max=`+max+`&min=`+min,
    method: 'get'
  })
}

export function saveEasyNum(data) {
  return request({
    url: '/number/saveEasyResult',
    method: 'post',
	data
  })
}
